package com.coderman.infosys.auth.domain.enums.errors;

import com.coderman.infosys.plat.auth.common.error.IError;

/**
 * Description:
 * date: 2022/1/20
 *
 * @author shenshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public enum RoleGroupErrorEnum  implements IError {
    ROLE_GROUP_DISABLE_ERROR("E70000000","禁用角色组失败"),
    ROLE_GROUP_ENABLE_ERROR("E70000001","启用角色组失败"),
    ROLE_GROUP_UPDATE_ERROR("E70000002","修改角色组失败"),
    ROLE_GROUP_NOTFUND_ERROR("E70000003","找不到角色组"),

    ;
    private  String errorCode;

    private String errorMsg;

    RoleGroupErrorEnum(String errorCode,String errorMsg){
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
    @Override
    public String getErrorCode() {
        return this.errorCode;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }
}

